package simulator;
import java.awt.*;
/**
 * Models an IR beacon for the iRobot Create, 
 * Also signifies the end of a maze
 * @author anand
 *
 */

public class Beacon extends PhysicalObject{
  public Beacon(double x, double y){
    this.x=x;
    this.y=y;
  }
  public boolean intersects(double x, double y){
    return false;
  }

  /**
   * Paint method
   * 
   * @param g Graphics object to paint with
   * @see Simulator
   */
  public void paint(Graphics g){
    g.setColor(Color.RED);
    g.drawOval((int) x, (int) y, 10, 10);
  }
}